gtk-demo: Clean up memory handling in the weather demo
authorMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2020 16:18:17 +0000 (12:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 20 Jun 2020 16:18:17 +0000 (12:18 -0400)
commit3fab2b55ccd43111f0ab8f839d03de5ebd75beda
treebbcaacb9bfd28f5f653a96598370f6d41cfd23eb
parent2842030e59692e7e943c6db246485711e02e3883
gtk-demo: Clean up memory handling in the weather demo

gtk_weather_info_new was consuming the info, but not
the timestamp, which confused me. Make it not consume
either, and be more explicit about where the unrefs
happen.
demos/gtk-demo/listview_weather.c